<?php
include_once('includes.php'); 
include_once('includes/rating.class.php');	

if(isset($_GET["id"]) && $_GET["id"]>0 )
{
	$id = (int) $_GET["id"];
	$sql = "select  *  from matchs  where id=".addslashes($id);
	$match=db_fetch_one($sql);
	
}	
else
{
	Header("Location: /");
	exit;
}

if($match->status <2)
	include_once('match-play.php'); 
else 
	include_once('match-highlight.php'); 
?>

